package com.jiu.core;

import java.awt.Color;
import java.util.List;
import java.util.Map;
import com.jiu.bean.FishThread;
import com.jiu.bean.QQThread;
import com.jiu.bean.SendMessageThread;
import com.jiu.config.Config;
import com.jiu.http.fish.FishHttpService;
import com.jiu.ui.LoginFrame;
import com.jiu.ui.MainFrame;



public interface FishContext {
	public Config getConfig();
	public Account getAccount();
	public void setAccount(Account account);
	public LoginFrame getLoginFrame();
	public MainFrame getMainFrame();
	public FishHttpService getFishHttpService();
	public void updateStatus(boolean state);
	public void displayMessage(String msg, Color color);
	public void displayMessage(List<Map<String,Object>> listMsg);
	public Map<Integer, String> getSendMap();
	public FishThread getFishThread();
	public SendMessageThread getSendThread();
	public QQThread getQqThread();
	public void updateLoginInfo(String userId);
}
